Favorites
This module provides methods for interacting with the user's favorites, allowing comprehensive management of favorite contacts and rooms.
The interface offers functionality to retrieve the complete list of favorites, search for a specific favorite by either its ID or the associated contact/room ID, and manage favorite entries. Users can create new favorites, delete existing ones, and modify the position of favorites in the list to suit their preferences.
Additionally, real-time notifications are available to keep users updated on changes to their favorites list.
Detailed information about each favorite entry is encapsulated within the IRainbowFavorite object, which contains all relevant data for individual favorite contacts or rooms.
Samples
com.ale.rainbowsdk.samples.FavoritesSampleProperties
Functions
Creates a new favorite entry.
Creates a new favorite entry from a contact.
Deletes an existing favorite.
Fetches all favorites for the user.
Retrieves a favorite by its unique ID.
Retrieves a favorite by the associated peer ID.
Updates the position of an existing favorite.